package com.winit.tag.manager;

import com.winit.tag.model.ConfigTagGroup;
import com.winit.tag.repository.TagOperations;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * Created by wangjian on 2017/9/28.
 */
@Component
public class TagGroupManager {

    private static Logger logger = LoggerFactory.getLogger(TagGroupManager.class);

    @Autowired
    private TagOperations tagOperations;

    public List<ConfigTagGroup> getTagGroup(String groupCode) {
        return tagOperations.getTagGroup(groupCode);
    }

}
